﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using VideoCache.Server.MVCWeb.Areas.Api.Models;

namespace VideoCache.Server.MVCWeb.Areas.Api.Attributes
{
    public class ApiAuthorizeAttribute : AuthorizeAttribute
    {
        public override void OnAuthorization(AuthorizationContext filterContext)
        {
            base.OnAuthorization(filterContext);

            if (filterContext.HttpContext.Request.Cookies[AuthenticationModel.CookieName] != null)
            {
            }
        }
    }
}